package org.csu.logistics.Service;

import org.csu.logistics.common.CommonResponse;
import org.csu.logistics.entity.Warehouse;
import org.csu.logistics.vo.WarehouseOV;

import java.util.Arrays;
import java.util.List;

public interface WarehouseService {
    void insert_wareHouse(Warehouse warehouse);

    void delete_wareHouseByOrderNum(int orderNum);

    void delete_wareHouseByOrderNumAndWareHouseId(int orderNum,int warehouseId);

    int update_wareHouseByOrderNum(Warehouse warehouse,String locale);

    List<Warehouse> select_wareHouseByOrderNum(int orderNum);

    CommonResponse<Warehouse> select_wareHouseByOrderNumAndWareHouseId(int orderNum, int warehouse);

    CommonResponse<List<WarehouseOV>> select_warehouse();

    CommonResponse<int[]> select_orderNum();

    CommonResponse<List<WarehouseOV>> select_warehouseOVByOrderNum(int orderNum);

    CommonResponse<List<WarehouseOV>> select_warehouseOVByLocale(String Locale);
}
